package homework.homework01;

import java.sql.Date;

/**
 * 学生类
 */

public class StudentBean {
    /*
        学生编号
     */
    private Integer id;

    /*
        学生姓名
     */
    private String name;

    /*
        学生性别
     */
    private String gender;

    /*
        学生电话号码
     */
    private String phoneNum;

    /*
        学生头像路径
     */
    private String photoPath;

    /*
        学生入住时间
     */
    private Date time;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public String getPhotoPath() {
        return photoPath;
    }

    public void setPhotoPath(String photoPath) {
        this.photoPath = photoPath;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "StudentBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", phoneNum='" + phoneNum + '\'' +
                ", photoPath='" + photoPath + '\'' +
                ", time=" + time +
                '}';
    }
}
